<h3>网站配置</h3>

<table>
  <tr>
     <th>id</th>
    <th>标志名</th>
    <th>描述</th> 
  </tr>

<% for webconfig in @webconfigs %>
  <tr>
     <td><%=h webconfig.id %></td>
    <td><%=h webconfig.name %></td>
    <td><%=h webconfig.description %></td>   
  
    <td><%= link_to 'Edit', edit_webconfig_path(webconfig) %></td>
    <td><%= link_to 'Destroy', webconfig, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to '新建配置', new_webconfig_path("style"=>params[:style]) %>
<fieldset class="demo">
  <LEGEND>操作说明：</LEGEND>
  <p>
    用于管理网站基本配置
  </p>
</fieldset>
